home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
mac
/
Shout3Ddemo
/
S3D_2E1.exe
/
Shout3d_runtime
/
codebase
/
applets
/
ExamineApplet.java
< prev
next >
Wrap
Text File
|
2000-11-03
|
911b
|
38 lines
/**
Company: Eyematic Interfaces
Project: Shout3D 2.0 Sample Code
Class: Viewer
Date: April 26, 1999
Description: Class for Viewer
(C) Copyright Eyematic Interfaces, Inc. - 1997-2000 - All rights reserved
*/
package applets;
import shout3d.*;
/**
* Shout3D viewer
*
* @author Jim Stewartson
* @author Paul Isaacs
* @author Dave Westwood
*/
public class ExamineApplet extends Shout3DApplet{
public void initShout3DPanel(){
panel = new ExaminePanel(this);
}
/**
* call this whenever you want to go reset the camera.
* Result is that camera goes back to its initial orientation,
*
* Position is chosen to look at the current center of rotation. In the
* case where objects are moving, this may be different than it was
* when the scene was first loaded.
*/
public void resetCamera(){
((ExaminePanel)panel).resetCamera();
}
}